import axios from 'axios'
import qs from "qs";


// 获取所有报价
export async function getRefundList(){
    var resp = await axios.get('/api/clientRefund/show');
    return resp.data;
}

export async function queryRefundList(queryCondition){
    var resp = await axios.get('/api/clientRefund/query', {
        params: {
            refundOrderSeq:queryCondition.refundOrderSeq,
            paymentTypeStr:queryCondition.paymentTypeStr,
        }
    });
    return resp.data;
}

export async function refundCommodity(refundOrderSeq,paymentTypeStr,status){
    var resp = await axios.get('/api/clientRefund/refund', {
        params: {
            refundOrderSeq,
            paymentTypeStr,
            status,
        }
    });
    return resp.data;
}